| Miles Sound System SDK 7.2a |
Q: | How do I use a Unicode path on Windows? |
A: | The Miles DLL is compiled in ascii character mode so that it can work on Windows 9x without any extra DLLs. That means if your Miles application is installed in a Unicode path, then the redistributable add-ons (for MP3 playback, DSP filters, etc) won't be found. So, to fix this, you follow these steps: 1) Have your installer create a normal ascii path under your main application directory for the Miles files (usually you'd do this anyway, creating a "redist" directory). 2) Before calling AIL_startup, use the Win32/Win64 Unicode function SetCurrentDirectoryW to make sure that the current directory is set to your main application directory. 3) Call AIL_set_redist_directory with the relative pathname to your Miles redistribution directory, only put a "*" character in front of the path. So, for example, instead of "redist", use "*redist". 4) Finally, call AIL_startup as you would normally. All of the files should then load correctly (whether on a Unicode path or not). |
Next Topic (How do I access files from a big packed file?)
Previous Topic (What is the latest version of MSS?)
Group:
FAQs and How Tos
Related Sections:
Distributing Miles with Win32 Applications, Distributing Miles with Win64 Applications
Related Functions:
AIL_set_redist_directory, AIL_startup
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.